package com.wn.common.entity;

/**
 * @BelongsProject: shared_parking_space
 * @BelongsPackage: com.wn.common.constant
 * @Author: 廖刚
 * @CreateTime: 2020-06-09 19:05
 * @Description: 返回前端的一些状态码
 */
public interface Const {

    interface Status{
        Integer STATUS_SUCCESS = 0;
        Integer STATUS_ERROR = 1;
        Integer STATUS_HAS_TEL = 2;
        Integer STATUS_HAS_name = 3;
        //未登录的状态码
        Integer STATUS_NOT_LOGIN= 10;
        //验证码不匹配
        Integer STATUS_WRONG_REQ = 4;
        //身份证图片未上传
        Integer STATUS_NO_IDIMG = 5;

    }

    //公钥和私钥的本地路径
    interface RsaPath{
        String PUBLIC_RSA = "d:\\rsa\\rsa.pub";
        String PRIVATE_RSA = "d:\\rsa\\rsa.pri";
    }

}
